package com.ad_hccm.domain.GeneralInformation;

import java.util.Date;

/**
 * @ClassName TODO GeneralInformation 一般资料
 * @id                           身份证
 * @birthDate                    出生日期(-年-月-日)
 * @age                          年龄
 * @nation                       民族(汉、其他)
 * @marriage                     婚姻(1:未婚、2:已婚、3:丧偶、4:离婚、5:其他)
 * @height                       身高(cm)
 * @weight                       体重(kg)
 * @education                    文化程度(1:未上学、2:小学、3:初中、4:高中、5:大专及以上、6:不详)
 * @career                       职业(1:工人、2:农民、3:学生、4:干部、5:专业技术人员、6:离退休、7:自由职业者、8:其他)
 * @longTermResidence            长期居住地
 * @environment                  环境(1:潮湿、2:干燥、3:高温、4:寒冷)
 * @isSmoke                      是否有吸烟史(0:无、1:有)
 * @isDrink                      是否有饮酒史(0:无、1:有)
 * @motion                       运动__小时/周
 * @eatingHabits                 饮食习惯(1:喜食肥甘厚味、2:喜食辛辣、3:喜食生冷、4:其他)
 * @isMedicine                   既往1个月内的治疗史(0:无、1:有)
 * @isOuterMedicineOne           既往史其他疾病及治疗史(0:无、1:有)
 * @isOuterMedicineTwo           其他疾病及治疗史(0:无、1:有)
 */
public class GeneralInformation {

    private String id;
    private Date birthDate;
    private Integer age;
    private String nation;
    private char marriage;
    private Double height;
    private Double weight;
    private char education;
    private char career;
    private String longTermResidence;
    private char environment;
    private byte isSmoke;
    private byte isDrink;
    private short motion;
    private char eatingHabits;
    private byte isMedicine;
    private byte isOuterMedicineOne;
    private byte isOuterMedicineTwo;

    @Override
    public String toString() {
        return "GeneralInformation{" +
                "id='" + id + '\'' +
                ", birthDate=" + birthDate +
                ", age=" + age +
                ", nation='" + nation + '\'' +
                ", marriage=" + marriage +
                ", height=" + height +
                ", weight=" + weight +
                ", education=" + education +
                ", career=" + career +
                ", longTermResidence='" + longTermResidence + '\'' +
                ", environment=" + environment +
                ", isSmoke=" + isSmoke +
                ", isDrink=" + isDrink +
                ", motion=" + motion +
                ", eatingHabits=" + eatingHabits +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(Date birthDate) {
        this.birthDate = birthDate;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public byte getIsMedicine() {
        return isMedicine;
    }

    public void setIsMedicine(byte isMedicine) {
        this.isMedicine = isMedicine;
    }

    public byte getIsOuterMedicineOne() {
        return isOuterMedicineOne;
    }

    public void setIsOuterMedicineOne(byte isOuterMedicineOne) {
        this.isOuterMedicineOne = isOuterMedicineOne;
    }

    public byte getIsOuterMedicineTwo() {
        return isOuterMedicineTwo;
    }

    public void setIsOuterMedicineTwo(byte isOuterMedicineTwo) {
        this.isOuterMedicineTwo = isOuterMedicineTwo;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public char getMarriage() {
        return marriage;
    }

    public void setMarriage(char marriage) {
        this.marriage = marriage;
    }

    public Double getHeight() {
        return height;
    }

    public void setHeight(Double height) {
        this.height = height;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public char getEducation() {
        return education;
    }

    public void setEducation(char education) {
        this.education = education;
    }

    public char getCareer() {
        return career;
    }

    public void setCareer(char career) {
        this.career = career;
    }

    public String getLongTermResidence() {
        return longTermResidence;
    }

    public void setLongTermResidence(String longTermResidence) {
        this.longTermResidence = longTermResidence;
    }

    public char getEnvironment() {
        return environment;
    }

    public void setEnvironment(char environment) {
        this.environment = environment;
    }

    public byte getIsSmoke() {
        return isSmoke;
    }

    public void setIsSmoke(byte isSmoke) {
        this.isSmoke = isSmoke;
    }

    public byte getIsDrink() {
        return isDrink;
    }

    public void setIsDrink(byte isDrink) {
        this.isDrink = isDrink;
    }

    public short getMotion() {
        return motion;
    }

    public void setMotion(short motion) {
        this.motion = motion;
    }

    public char getEatingHabits() {
        return eatingHabits;
    }

    public void setEatingHabits(char eatingHabits) {
        this.eatingHabits = eatingHabits;
    }
}
